package com.css.fxfzaqbz.modules.port.controller;

import com.css.fxfzaqbz.modules.data.entity.Report;
import com.css.fxfzaqbz.modules.data.service.ReportService;
import com.css.fxfzaqbz.modules.port.entity.ReportVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author y1fan
 * @create 2023-04-24 10:27
 * @description  其他系统调用的 安保系统接口
 */
@RestController
@RequestMapping("/port/report")
@Slf4j
public class ReportPortController {


    @Resource
    private ReportService reportService;

    /**
     * 根据 活动id 查询当前活动的系统报告
     */
    @GetMapping("/getReportPort")
    public List<ReportVO> getReportPort() {
        List<ReportVO> list = reportService.getReportPort();
        return list;
    }

}
